package com.xbongbong.paas.pojo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @description: 时间筛选pojo
 * @Author: hongxiao
 * @date: 2019-02-19 21:24
 * @since v1.0
 */
@Getter
@Setter
@ToString
public class TimeFilterPojo implements Serializable {
    private static final long serialVersionUID = 5595772468485319482L;
    /**
     * 时间类型，必传
     */
    private Integer timeType;
    /**
     * 年，必传
     */
    private Integer year;
    /**
     * 季度
     */
    private Integer season;
    /**
     * 月份
     */
    private Integer month;
    /**
     * 自定义时间区间，["2018-01-23", "2018-03-01"]
     */
    private List<String> timeSpan;
}
